package com.njtoyo.taxi.admin.mapper.master.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.njtoyo.taxi.admin.mapper.master.enums.CallPaymentChannel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Accessors(chain = true)
public class CallPayment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long refId;

    private String number;


    private String outTradeNumber;

    private Long customerId;

    private Long driverId;

    private Integer paymentSource;

    private Long paidTimestamp;

    private Boolean refunded;

    private Boolean isPaid;

    private BigDecimal amount;

    private CallPaymentChannel paymentChannel;


}
